function emptyAction() {
    console.log("Current execute action is empty!")
}

class Actions {
    actions = {
        onGlobalStateChange: emptyAction,
        setGlobalState: emptyAction
    }
    setActions(actions) {
        this.actions = actions
    }
    onGlobalStateChange(...args) {
        return this.actions.onGlobalStateChange(...args)
    }
    setGlobalState(...args) {
        return this.actions.setGlobalState(...args)
    }
}
let actions = new Actions()

export default actions